package com.study.行为型模式.中介者模式;

//中介者类
public abstract class Mediator {

    //将给中介者对象，加入到集合中
    public abstract void register(String colleagueName,Colleague colleague);

    //接收消息，具体同事对象发出的
    public abstract void getMessage(int stateChange,String colleagueName);

    public abstract void sendMessage();
}
